package es.uniovi.miw.tfm.scowt.model;

public class Employee {
    
    private String firstName;
    
    private String lastName;
    
    private ProfessionalRole role;

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public ProfessionalRole getRole() {
        if(role == null){
            role = new ProfessionalRole();
        }
        return role;
    }

    public void setRole(ProfessionalRole role) {
        this.role = role;
    }
    
    

}
